<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>付款成功页面</title>
<link rel="stylesheet"  type="text/css" href="assets/css/amazeui.css"/>
<link href="assets/css/admin.css" rel="stylesheet" type="text/css">
<link href="basic/css/demo.css" rel="stylesheet" type="text/css" /><link rel="stylesheet" type="text/css" href="res/static/css/main.css">
<link href="css/sustyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="basic/js/jquery-1.7.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>

<script language="javascript">
	var secs = 3; //倒计时的秒数
	var URL;
	function Load(url) {
		URL = url;
		for (var i = secs; i >= 0; i--) {
			window.setTimeout('doUpdate(' + i + ')', (secs - i) * 1000);
		}
	}
	function doUpdate(num) {
		document.getElementById('ShowDiv').innerHTML = '购买成功,将在' + num + '秒后自动跳转到主页';
		if (num == 0) {
			window.location = URL;
		}
	}
</script>
<body onload="Load('index.jsp')">
	<jsp:include page="header.jsp"></jsp:include>
	<div  id="ShowDiv" style="padding-left:600px;"></div>
	<div class="take-delivery">
 <div class="status">
   <h2>您已成功付款</h2>
   <div class="successInfo">
     <ul>
       <li>付款金额<em>${sumCount}</em></li>
       <div class="user-info">
         <p>收货人：${orderCusomer }</p>
         <p>联系电话：${orderTel}</p>
         <p>收货地址：${address}</p>
       </div>
             请认真核对您的收货信息，如有错误请联系客服
                               
     </ul>
     <div class="option">
       <span class="info">您可以</span>
        <a href="../person/order.html" class="J_MakePoint">查看<span>已买到的宝贝</span></a>
        <a href="../person/orderinfo.html" class="J_MakePoint">查看<span>交易详情</span></a>
     </div>
    </div>
  </div>
</div>

</body>
</html>